import request from '@/utils/request'

export function dttGetAll(searchData) {
  return request({
    url: '/services/app/DictionaryTableTypeService/GetAll',
    method: 'get',
    params: searchData
  })
}
export function dttGet(id)
{
  return request({
    url: '/services/app/DictionaryTableTypeService/Get',
    method: 'get',
    params: {id}
  })
}
export function ddtValidatorId(id)
{
  return request({
    url: '/services/app/DictionaryTableTypeService/ValidatorId',
    method: 'get',
    params: {id}
  })
}
export function dttCreated(dictTypeInfo) {

  return request({
    url: '/services/app/DictionaryTableTypeService/Create',
    method: 'post',
    data: dictTypeInfo
  })
}
export function dttUpdate(dictTypeInfo)
{
  return request({
    url: '/services/app/DictionaryTableTypeService/Update',
    method: 'post',
    data: dictTypeInfo
  })
}


